<?php get_header(); ?>

        <div id="primary-content">
            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
            <div class="entry" id="post-<?php the_ID(); ?>">
                <h2 class="pagetitle"><?php the_title(); ?></h2>
                <?php the_content(); ?>
               <?php link_pages('<p class="page"><strong>'.__('Pages:').'</strong> ', '</p>', 'number'); ?>
                <?php edit_post_link('Edit', '<span class="metaedit">','</span>'); ?>
            </div>
            <?php endwhile; endif; ?>
        </div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>
